package net.njcp.mybatis.frame.builder;

/**
 * @ClassName BaseMapperBuilder
 * @Description: TODO
 * @Author 柳拓
 * @Date 2019/11/5
 * @Version V1.0
 **/
public class BaseMapperBuilder {

    public static String buildInsertSql(Object object){
        return InsertSqlBuilder.buildInsertSql(object).toString();
    }

    public static String buildUpdateSql(Object object){
        return UpdateSqlBuilder.buildUpdateSql(object).toString();
    }

    public static String buildSql(CustomSqlBuilder sqlBuilder){
        return sqlBuilder.getSql().toString();
    }

    public static String executeSql(String sql){
        return sql;
    }

}
